Report post

What is Bootstrap accordion?

The Bootstrap accordion is a component that organizes content within collapsable items. Accordion allows the display of only one collapsed item at a time. Accordions can toggle through a number of text blocks with a single click, and that greatly enhances the UX of your project.

How do I build a vertically collapsing accordion?

Build vertically collapsing accordions in combination with our Collapse JavaScript plugin. The accordion uses collapse internally to make it collapsible. To render an accordion that’s expanded, add the .open class on the .accordion . Click the accordions below to expand/collapse the accordion content. This is the first item's accordion body.

How does accordion work?

Accordion allows the display of only one collapsed item at a time. Accordions can toggle through a number of text blocks with a single click, and that greatly enhances the UX of your project. To preserve accordion's stylish behavior and avoid scrolling space mishaps, make sure the tabs are similar height.

Should I migrate to a new version of Bootstrap 5?

We recommend migrating to the latest version of our product - Material Design for Bootstrap 5. The Bootstrap accordion is a component that organizes content within collapsable items. Accordion allows the display of only one collapsed item at a time.

The World's Leading Crypto Trading Platform

Get my welcome gifts